package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soundTimes")
public class SoundTimes implements java.io.Serializable{

    private static final long serialVersionUID = -3136732836884933873L;

    private ObjectId id;
    private Long userId; //用户id
    private Integer remainingTimes; //剩余次数
    private Long date; //时间


}
